from rest_framework.pagination import PageNumberPagination
 
 
class Pagination(PageNumberPagination):
    #page_query_param = ''
    page_size = 10   # default page size
    page_size_query_param = 'size'  # ?page=xx&size=??
    max_page_size = 100 # max page size